module message.Gpush;

import std.stdio;
import hunt.serialization.JsonSerializer;

struct Notification {
  string title;

  @JsonProperty("body")
  string msgBody;
  string image;
}

struct Content
{
  string chat_id;
  string message_id;
}

struct Gdate
{
  int type;
  Content content;
}

struct Apns
{
    int badge;
}

struct Gpush {
  string push_token;
  Notification notification;
  Gdate data;
  Apns apns;
}
